<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<s:head theme="ajax" />
		<title>My JSP 'systemTime.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css" href="../css/time.css">
		<script type="text/javascript" src="../js/common.js"></script>
		<link rel="stylesheet" type="text/css" href="../css/content.css">
		<script type="text/javascript" src="../js/teacher.js"></script>
	</head>

	<body>
		<div id="content">
			<s:form action="setTime" id="setTime" method="post" theme="simple">
				<div id="head">
					设置系统时间
				</div>
				<div id="time">
					<SPAN class="time_1"><s:select
							list="{'2009','2010','2011','2012','2013','2014','2015','2016','2017','2018','2019','2020','2021','2022','2023'}"
							name="year"></s:select>
					</SPAN>
					<SPAN class="time_1"><s:select list="{'春季','秋季'}"
							theme="simple" name="quarter"></s:select>
					</SPAN>
				</div>
				<div id="date_container">
					<table id="date_content">
						<s:iterator value="schoolTimePoint" id="stp" status="st">
							<tr>
								<TD>
									<s:label value="%{#stp.timePointClass.TimePointClassName}"></s:label>
									<s:hidden
										name="schoolTimePoint[%{#st.index}].timePointClass.TimePointClassNum"
										value="%{#stp.timePointClass.TimePointClassNum}"></s:hidden>
									<s:hidden name="schoolTimePoint[%{#st.index}].timePointNum"
										value="%{#stp.timePointNum}"></s:hidden>
								</TD>
								<td>
									<s:datetimepicker name="schoolTimePoint[%{#st.index}].p_time"
										value="%{#stp.p_time}" displayFormat="yy-MM-dd" />
								</TD>
							</tr>
						</s:iterator>
					</table>
				</div>
				<div id="button">
					<input type="submit" value="设置"/>
				</div>
			</s:form>
		</div>
		
		<div id="mask" style="display: none"></div>
	</body>
</html>
